﻿<!doctype html>
<html class="no-js" lang="zxx">

<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>GHP官方首页</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300i,400,400i,700,800" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Poppins:400,500,700" rel="stylesheet">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/plugins.css">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="css/custom.css">
<script src="js/vendor/modernizr-3.5.0.min.js"></script>
</head>
<body>
<!--[if lte IE 9]>
	<p class="browserupgrade">您使用的浏览器为<strong>outdated</strong>。请<a href="https://browsehappy.com/">升级您的浏览器</a>才能正常访问该网站</p>
<![endif]-->
<div class="fakeloader"></div>
<div class="wrapper" id="wrapper">
	<div id="home"></div>
	<header id="header" class="header op-header header-transparent sticky-header">
		<div class="container d-none d-lg-block">
			<div class="header-inner">
				<a href="index.html" class="logo">
				</a>
				<nav class="mainmenu onepage-menu">
					<ul>
						<li class="current">
							<a href="#">主页</a>
						</li>
						<li>
							<a href="#call-to-action">联系我们</a>
						</li>
					</ul>
				</nav>
			</div>
		</div>
		<div class="mobile-menu-wrap d-block d-lg-none">
			<div class="container">
				<div class="mobile-menu">
				</div>
			</div>
		</div>
	</header>
	<div class="onepage-banner">
		<div class="op-banner-content text-center">
			<h1 class="op-banner-heading">
				<span class="op-banner-heading-sub">通用型超文本预处理器-通用型Web中间件</span>
				<span class="op-banner-heading-main">GHP</span>
			</h1>
			<a href="https://free.onlinecode.cn:88/" class="op-btn op-btn-white">GHP新版开发中(点击前往GHP编写的资源平台demo)</a><br>
			<a href="https://github.com/leeli73/GHP.git" class="op-btn op-btn-white">前往GitHub查看老版源代码</a>
		</div>
		<span class="op-banner-image">
			<img src="images/onepage/banner-image-png.png" alt="banner image">
		</span>
	</div>
	<main class="page-content">
		<div class="onepage-single-background-wrapper">
			<div id="features-area" class="cr-section op-features-area op-section-padding-top">
				<div class="container">
					<div class="row justify-content-center op-features-wrap">
						<div class="col-lg-4 col-md-6 col-12">
							<div class="op-feature text-center">
								<i class="fa fa-desktop"></i>
								<h6>高性能的Web中间件</h6>
								<p>凭借Go强大的性能以及自研的轻量级核心。自带负载均衡器及反向代理,为GHP提供了一颗强大的心脏。</p>
							</div>
						</div>
						<div class="col-lg-4 col-md-6 col-12">
							<div class="op-feature text-center">
								<i class="fa fa-gear"></i>
								<h6>GHP</h6>
								<p>通用型超文本预处理器-GHP。可将C/C++,Java,Python,Go,JS,易语言...直接嵌入HTML,无需进行新语法的学习,直接上手编写网站后端。</p>
							</div>
						</div>
						<div class="col-lg-4 col-md-6 col-12">
							<div class="op-feature text-center">
								<i class="fa fa-edit"></i>
								<h6>GHP资源共享平台Demo</h6>
								<p>基于GHP，使用C++和Golang进行混合编写的资源共享平台。主要为了演示GHP的相关功能及用法。</p>
							</div>
						</div>
					</div>
				</div>
				<br>
			</div>
		</div>
		<section id="call-to-action" class="cr-section call-to-action-area section-padding-sm bg-grey">
			<div class="container">
				<div class="row">
					<div class="col-lg-12">
						<div class="cta text-center">
							<h4>经过内部测试，我们推翻了目前绝大部分代码，决定采用全新的框架及技术重新开发。</h4>
							<h4>将极大优化Web中间件及GHP性能，并降低资源消耗。</h4>
							<h4>将支持https、session等</h4>
							<h4>将支持多节点负载均衡，反向代理等加速</h4>
							<a href="#" class="op-btn op-btn-white" data-toggle="modal" data-target="#myModal">给我们提点子</a>
						</div>
					</div>
				</div>
			</div>
		</section>
	</main>
	<footer id="footer-area" class="footer-area op-footer-area">
		<div class="op-section-padding-top op-footer-area-inner">
			<div class="container">
				<div class="row widgets footer-widgets">
					<div class="col-lg-3 col-md-6">
						<div class="single-widget about-widget">
							<h4 class="widget-title">关于我们</h4>
							<ul>
								<li>
									<i class="fa fa-map-marker"></i>
									<p>青海省 西宁市 城北区</p>
								</li>
								<li>
									<i class="fa fa-envelope"></i>
									<p>Email :
										<a href="mailto://leeli@live.cn">leeli@live.cn</a></p>
								</li>
								<li>
										<i class="fa fa-rmb"></i>
										<p>支付宝赞助 :
											<a href="images/zanzhu/zfb.jpg">点击打开收款码</a></p>
								</li>
								<li>
										<i class="fa fa-wechat"></i>
										<p>微信赞助 :
											<a href="images/zanzhu/wx.png">点击打开收款码</a></p>
								</li>
							</ul>
						</div>
					</div>
					<div class="col-lg-3 col-md-6">
						<div class="single-widget links-widget">
							<h4 class="widget-title">友情链接</h4>
							<ul>
								<li>
									<a href="https://studygolang.com/">Go语言中文网</a>
								</li>
								<li>
									<a href="https://golang.org/">Go语言官网</a>
								</li>
								<li>
									<a href="http://www.runoob.com/">菜鸟教程</a>
								</li>
								<li>
									<a href="https://bbs.125.la/">精易论坛</a>
								</li>
							</ul>
						</div>
					</div>
					<div class="col-lg-3 col-md-6">
						<div class="single-widget latest-post-widget-2">
							<h4 class="widget-title">&nbsp;&nbsp;&nbsp;&nbsp;开发动态</h4>
							<iframe src="DevelopEvent.html" width="100%" height="100%" align="center" scrolling="auto" frameborder="0" allowTransparency="true" ></iframe>
						</div>
					</div>
					<div class="col-lg-3 col-md-6">
						<div class="single-widget tags-widget">
							<h5 class="widget-title">标签</h5>
							<ul>
								<li><a href="#">中文编程</a></li>
								<li><a href="#">超文本预处理器</a></li>
								<li><a href="#">高性能</a></li>
								<li><a href="#">高并发</a></li>
								<li><a href="#">超强兼容性</a></li>
								<li><a href="#">超强拓展性</a></li>
								<li><a href="#">跨平台</a></li>
								<li><a href="#">后端开发</a></li>
								<li><a href="#">负载均衡器</a></li>
								<li><a href="#">反向代理</a></li>
							</ul>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="footer-copyright-area section-padding-xs">
			<div class="container">
				<div class="row">
					<div class="col-lg-12">
						<div class="copyright text-center">
							<p>Copyright &copy; 2018.CHP/CHPX All rights reserved.</p>
						</div>
					</div>
				</div>
			</div>
		</div>
	</footer>
</div>
<!-- 模态框 -->
	  <div class="modal fade" id="myModal">
		<div class="modal-dialog">
		  <div class="modal-content">
			<div class="modal-header">
			  <h4 class="modal-title">告诉我们您的好点子</h4>
			  <button type="button" class="close" data-dismiss="modal">&times;</button>
			</div>
			<div class="modal-body" style="height:200;">
			  <textarea id="idea" style="width:100%;height:100%;"></textarea>
			</div>
			<div class="modal-footer">
			  <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
			  <button type="button" class="btn btn-success" data-dismiss="modal" onclick="SubmitIdea()">提交</button>
			</div>
		  </div>
		</div>
	  </div>
<script src="js/vendor/jquery-3.2.1.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/plugins.js"></script>
<script src="js/jquery.nav.min.js"></script>
<script src="js/active.js"></script>
<script src="js/scripts.js"></script>
<script>
	function SubmitIdea()
	{
		var Data = document.getElementById("idea").value;
		  var xmlhttp=new XMLHttpRequest();
			  xmlhttp.onreadystatechange=function()
			  {
				if (xmlhttp.readyState==4 && xmlhttp.status==200)
				{
					alert(xmlhttp.responseText);
				}
			  }
        var data = "idea="+Data;
		xmlhttp.open("POST","seph/idea.chpx.",true);
		xmlhttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
		xmlhttp.send(data);
	}
</script>
</body>
</html>
